Script rendering. Can I display the rendering time?

Can I display the rendering time?

Can I display the rendering time?
When rendering in a script…
I want to display a bar in the command window to display a percentage

Does the keyshot script have a feature? or…
Should I use Python?
(The reason I’m asking about Python is because… It’s because I know that not all Python scripts are applied in the keyshot.)

Thank you for your interest~


pip install tqdm
Can I install this?

import lux
import time
from tqdm import tqdm

Chatgpt suggested this
Is this possible?

This only would work if you set the render time with the script using setMaxTimeRendering (…), refer to script manual. With the limits of this render option, e.g. non constant quality and samples.

1 Like

OH!!! Thank you!!! I’ll try~

Ah…
This method not working.
Only the time difference between the beginning and the end can tell how many seconds it took.
I don’t think I can show what percentage this method has passed.